package module;

import java.io.DataOutputStream;
import java.io.Serializable;

public class ExamQuestions implements Serializable {

    private static final long serialVersionUID = -1225113970581096678L;

    private String title;
    private String choose;
    private String answer;

    public ExamQuestions(String title, String choose, String answer) {
        this.title = title;
        this.choose = choose;
        this.answer = answer;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public String getChoose() {
        return choose;
    }

    public void setChoose(String choose) {
        this.choose = choose;
    }

    @Override
    public String toString() {
        return "ExamQuestions{" +
                "title='" + title + '\'' +
                ", choose='" + choose + '\'' +
                ", answer='" + answer + '\'' +
                '}';
    }
}
